﻿using System.Xml;

using octalforty.Syndication.Core;

namespace octalforty.Syndication.Core.Internal
{
    /// <summary>
    /// Special-case implementation of <see cref="IAggregator"/>.
    /// </summary>
    internal sealed class NullAggregator : AggregatorBase
    {
        #region AggregatorBase Members
        /// <summary>
        /// Internal method, invoked from the implementation of <see cref="AggregatorBase.Aggregate"/>.
        /// </summary>
        /// <param name="feedDocument"></param>
        /// <param name="syndicationFeed"></param>
        /// <remarks>
        /// The implementation must not invoke <see cref="IAggregator.Aggregate"/> 
        /// on the <see cref="AggregatorBase.NextAggregator"/>.
        /// </remarks>
        protected override void InternalAggregate(XmlDocument feedDocument, ref ISyndicationFeed syndicationFeed)
        {
        }
        #endregion
    }
}
